<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><!-- #BeginTemplate "/Templates/method.dwt" -->
<head>
<!-- #BeginEditable "doctitle" --> 
<title>WIKINDX CLASS DOCUMENTATION</title>
<!-- #EndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="/wikindx2/docs/docs.css" type="text/css" />
</head>

<body bgcolor="#FFFFFF" text="#000000">
<h2>WIKINDX METHODS</h2>
<p><strong>Method:</strong><br />
  <!-- #BeginEditable "methodName" -->
  getArray()
  <!-- #EndEditable -->
  </p>
<p><strong>Class:</strong><br />
<!-- #BeginEditable "className" -->
<a href="sessionClass.html">SESSION</a>
<!-- #EndEditable -->
<p><strong>Method Call:</strong><br />
  <!-- #BeginEditable "methodCall" -->
include_once("core/session/SESSION.php");<br />
$session = new SESSION();<br />
  ASSOC_ARRAY $session->getArray(STRING: $prefix);
  <!-- #EndEditable -->
  </p>
<p><strong>Description:</strong><br />
  <!-- #BeginEditable "methodDescription" -->
  Returns an associative array of all session variables having $prefix prefix. 
The keys of the array are without the $prefix prefix.
<!-- #EndEditable -->
  </p>
<p><strong>Usage:</strong><br />
  <!-- #BeginEditable "methodUsage" -->
If the session has the following variables:

<pre>
	setup_authWrite = 1
	setup_title = "My WIKINDX!"</pre>

the code:
  <pre>
	$session = new SESSION();
	$setupArray = $session->getArray("setup");
  </pre>
will return $setupArray as:
  
<pre>
	"authWrite"		=>	1;
	"title"			=>	"My WIKINDX!";</pre>



  
<!-- #EndEditable -->
</p>
<p align="right"><a href="../../index.html">WIKINDX home</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a href="../../usage/index.html">WIKINDX usage</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a href="../index.html">WIKINDX classes</a>
</p>
</body>
<!-- #EndTemplate -->
</html>
